package com.demo.bus_management.service;

import com.demo.bus_management.entity.BusLine;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface BusLineService {
    List<BusLine> getAllBusLines();
    BusLine getBusLineById(Long id);
    List<BusLine> getBusLineByName(String line_name);
    List<BusLine> getBusLineByNumber(String line_number);
    void addBusLine(BusLine busLine);
    void updateBusLine(BusLine busLine);
    void deleteBusLine(Long id);
}

